projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9640171
)
repo: Document ostree_repo_sign_commit(), and add introspection data
author
Colin Walters
<walters@verbum.org>
Mon, 20 Jan 2014 17:13:37 +0000
(12:13 -0500)
committer
Colin Walters
<walters@verbum.org>
Mon, 20 Jan 2014 17:13:37 +0000
(12:13 -0500)
The important bit for introspection is (allow-none) on the homedir.
src/libostree/ostree-repo.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo.c
b/src/libostree/ostree-repo.c
index 372becd8fce33132fab9824d050dbf52f92280fa..2309a8620f57fd9ef3e0e4b8d37af844b68ead1c 100644
(file)
--- a/
src/libostree/ostree-repo.c
+++ b/
src/libostree/ostree-repo.c
@@
-1478,6
+1478,17
@@
ostree_repo_pull (OstreeRepo *self,
}
#endif
+/**
+ * ostree_repo_sign_commit:
+ * @self: Self
+ * @commit_checksum: SHA256 of given commit to sign
+ * @key_id: Use this GPG key id
+ * @homedir: (allow-none): GPG home directory, or %NULL
+ * @cancellable: A #GCancellable
+ * @error: a #GError
+ *
+ * Add a GPG signature to a commit.
+ */
gboolean
ostree_repo_sign_commit (OstreeRepo *self,
const gchar *commit_checksum,